<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="u17.model.User" %>
<%@ page import="u17.uitls.DateUtil" %>

<!DOCTYPE html>
<html>
  <head>
  	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>用户列表</title>
  </head>
  <body class="easyui-layout">
  	<div data-options="region:'north'" class="north" title="" style="height:5%;">
  		
	</div>
  	<div data-options="region:'center'" class="easyui-panel" style="width:100%;height:95%;border:0px;">
    	<table id="user_dg"></table>
  	</div>
	
	<!-- 添加玩家Panel -->
    <div id="playerAddDialog" class="easyui-dialog" title="player添加" style="width:450px;height:500px;"
    	 data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true">
    	<form method="post" action="" id="playerForm">
		  <table>
		  	<tr>
		  		<td>用户名:</td>
		  		<td>
		  			<input type="hidden" name="yid" id="yid" value="0"/>
		  			<input type="text" name="name"  id="playerName" class="easyui-validatebox" data-options="required:true,validType:'length[2,5]'"/>
		  		</td>
		  	</tr>
		  	<tr>
		  		<td>密码:</td>
		  		<td><input type="password" name="pwd"  id="playerPwd" class="easyui-validatebox" data-options="required:true"/></td>
		  	</tr>
		  	<tr>
		  		<td>确认密码:</td>
		  		<td><input type="password" name="check_pwd" class="easyui-validatebox" data-options="required:true" validType="equals['#playerPwd']"/></td>
		  	</tr>
		  	<tr>
		  		<td>昵称:</td>
		  		<td><input type="text" name="nikename" id="playerNikename" class="easyui-validatebox" data-options="required:true"/></td>
		  	</tr>
		  	<tr>
		  		<td>手机号:</td>
		  		<td><input type="text" name="phone" id="playerPhone" class="easyui-validatebox" data-options="required:true"/></td>
		  	</tr>
		  	<tr>
		  		<td colspan="2" style="text-align: right">
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="sub();">
						保存
					</a>
					<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="cancel('playerAddDialog');">
						取消
					</a>
				</td>
		  	</tr>
		  </table>
		</form>  
    </div>
    <script type="text/javascript" src="../js/userList.js"></script>
  </body>
</html>
